home *** CD-ROM | disk | FTP | other *** search
- Path: mother.usf.edu!suntan!cdiaz
- From: "Carlos Diaz (CS)" <cdiaz@eng.usf.edu>
- Newsgroups: comp.lang.c
- Subject: delays: creating time delays with time.h (unix c)
- Date: Thu, 4 Apr 1996 21:13:31 -0500
- Organization: University of South Florida
- Message-ID: <Pine.SUN.3.92.960404210632.28756A-100000@suntan>
- NNTP-Posting-Host: suntan.eng.usf.edu
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- X-Sender: cdiaz@suntan
-
- Hello! I'm trying to figure out if I can use the standard library (time.h)
- to create a delay function where the program will pause for x amount of
- time before continuing. 'x' I need it to be a value representing either
- 10th of a second or 100th of a second.
-
- Please, no references to using non-standard libraries: this code has to be
- as platform independent as possible.
-
- On that same note, suppose I have a variable getting the value from the
- clock() function... how do I print the variable (of type clock_t or
- time_t)? Thanks for your help!
-
- Sincerely,
- Carlos E. Diaz
-
-
-